package com.habo.entity;

import java.util.Date;

/**
 * Created by junbb on 2017/4/1.
 */
public class Comment {
    private int Cid;
    private int Sid;
    private String Cuid;
    private String Ccontent;
    private Date Cdate;
    private String Ctouid;
    private User user;

    public Comment() {

    }

    public Comment(int cid, int sid, String cuid, Date cdate, String ctouid, String ccontent) {
        Cid = cid;
        Sid = sid;
        Cuid = cuid;
        Ccontent = ccontent;
        Cdate = cdate;
        Ctouid = ctouid;
    }

    public int getCid() {
        return Cid;
    }

    public void setCid(int cid) {
        Cid = cid;
    }

    public int getSid() {
        return Sid;
    }

    public void setSid(int sid) {
        Sid = sid;
    }

    public String getCuid() {
        return Cuid;
    }

    public void setCuid(String cuid) {
        Cuid = cuid;
    }

    public String getCcomment() {
        return Ccontent;
    }

    public void setCcomment(String ccomment) {
        Ccontent = ccomment;
    }

    public Date getCdate() {
        return Cdate;
    }

    public void setCdate(Date cdate) {
        Cdate = cdate;
    }

    public String getCtouid() {
        return Ctouid;
    }

    public void setCtouid(String ctouid) {
        Ctouid = ctouid;
    }

    public String getCcontent() {
        return Ccontent;
    }

    public void setCcontent(String ccontent) {
        Ccontent = ccontent;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "Cid=" + Cid +
                ", Sid=" + Sid +
                ", Cuid='" + Cuid + '\'' +
                ", Ccomment='" + Ccontent + '\'' +
                ", Cdate=" + Cdate +
                ", Ctouid='" + Ctouid + '\'' +
                '}';
    }
}
